#define _CRT_SECURE_NO_WARNINGS

#include "List.h"

int main()
{
	/*LTNode* plist;
	LTInit1(&plist);*/
	LTNode* plist =  LTInit2();
	LTPushBack(plist, 1);
	LTPushBack(plist, 2);
	LTPushBack(plist, 3);
	LTPushBack(plist, 4);
	LTNode* ret = LTFind(plist, 2);
	LTInsertBack(plist, ret,0);
	LTInsertFront(plist, ret, -1);

	LTPrint(plist);
	ret = LTFind(plist, 0);
	printf("\n");
	LTErase(ret);

	LTPrint(plist);

	LTDestroy(&plist);
	return 0;
}